import { createRouter, createWebHistory, createWebHashHistory } from 'vue-router'

const routes = [
  {
    path: '/',
    name: 'Home',
    meta: {
      title: '统计',
      keepAlive: true,
    },
    component : () =>  import('@/views/home/index.vue'),
  },
]
const router = createRouter({
  // history: createWebHistory('/heartvoice/'),
  history: createWebHashHistory(),
  routes
})

export default router